package com.hscm.boss.mvc.model.from.operator;


import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class LoginFrom {
    //进行参数验证
    @NotNull(message = "必须输入登录名称")
    @Size(min = 5, max = 20,message = "字符的个数必须为{min}-{20}个字符")
    private String LoginName;

    @NotNull(message = "必须输入登录名称")
    @Size(min = 32, max = 32,message = "登录密码错误")
    private String LoginPwd;
}
